<?php

header("Content-Type: application/json");
include('../../include/functions.inc.php');
$string = $db->query_toJson("cllg_college_cycle", "FK_ENTITY=" . $user->entity, array("CICLO" => "CODE",
    "FECHA INICIO" => "DATE_BEGIN",
    "FECHA FINAL" => "DATE_END",
    "ESTADO (1=ACT/0=INAC)" => "STATUS"));
echo $string;
?>